//
//  VersionModel.m
//  TenMinDemo
//
//  Created by Shawn Li on 2021/3/9.
//  Copyright © 2021 CYXiang. All rights reserved.
//

#import "VersionModel.h"

@implementation VersionModel

//- (BOOL)isNeedUpdate{
//    BOOL res = ![APPVersionCode isEqualToString:self.versionId];
//    return res;
//}

- (BOOL)isNeedUpdate{
    NSString *curVerCode = [NSString stringWithFormat:@"V %@",APPVersionCode];
    BOOL res = ![curVerCode isEqualToString:self.versionName];
    return res;
}

@end
